home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
clean
/
sun3.lha
/
Sun3
/
deltaP.dcl
< prev
next >
Wrap
Text File
|
1992-08-07
|
432b
|
21 lines
SYSTEM MODULE deltaP;
== Version 0.8
RULE
:: CurrentP -> PROCID ;
== Returns the processor id of the current processor
:: ITOP !INT -> PROCID ;
== Converts an integer to a PROCID.
:: RandomP -> PROCID ;
== Returns a random processor id.
:: NeighbourP !INT !PROCID -> PROCID ;
== Returns the processor id of the processor n hops away.
:: ChannelP x -> PROCID ;
== Returns the processor id of x if x is a channel.